﻿#include "FITKPHengLEIInFlowTypeDensity.h"
#include "FITK_Kernel/FITKEasyParam/FITKParameter.h"

namespace Interface
{
    FITKPHengLEIInFlowTypeDensity::FITKPHengLEIInFlowTypeDensity(FITKPHengLEIAbsSolver::PHengLEISolverType type)
		:FITKPHengLEIAbstractInFlowType(type)
    {
        //初始化
        this->init();
        this->setDataObjectName("Density");
    }


	void FITKPHengLEIInFlowTypeDensity::initInFlowTypeParam()
	{
		if (_solverType == Interface::FITKPHengLEIAbsSolver::PLHypersonic)
		{
			//设置参数
			_inFlowTypeParams->createDoubleParameter("Velocity", 1000.0);
			_inFlowTypeParams->createDoubleParameter("Density", 1.0e3);
		}
	}
}



